package com.qls.ali.biz.order.service.mybatis.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qls.ali.biz.order.dao.OpGroupDao;
import com.qls.ali.biz.order.service.mybatis.OpGroupService;
import com.qls.core.entity.OpGroup;
import org.springframework.stereotype.Service;


/**
 * @author doyoung
 */
@Service("opGroupService")
public class OpGroupServiceImpl extends ServiceImpl<OpGroupDao, OpGroup> implements OpGroupService {

    @Override
    public Integer getIsDirectByHotelCodeAndUsername(String username, Long hotelCode) {
        return baseMapper.getIsDirectByHotelCodeAndUsername(username, hotelCode);
    }
}